#ifndef PG_BASE_H
#define PG_BASE_H

#include "thrid.hpp"
#include "qt_api.hpp"
#include "sgt_style.hpp"

class PgBase : public QWidget
{
    Q_OBJECT
public:
    explicit PgBase(QWidget* parent = nullptr, 
        const std::string& name_ = "base");
    ~PgBase();
signals:
    void sigReqLoadingEnd();
    void sigReqLoading(const QString tips);
protected:
    std::shared_ptr<spdlog::logger> logger;
private:
    std::string name;
};

#endif
